<HTML
><HEAD
><TITLE
>GR_UPDATE_TYPE</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.61
"><LINK
REL="HOME"
TITLE="Nano-X Library API"
HREF="index.html"><LINK
REL="UP"
TITLE="Nano-X Data Types"
HREF="nxstruct.html"><LINK
REL="PREVIOUS"
TITLE="GR_TIMEOUT"
HREF="nxstruct_GR_TIMEOUT.html"><LINK
REL="NEXT"
TITLE="GR_WINDOW_ID"
HREF="nxstruct_GR_WINDOW_ID.html"></HEAD
><BODY
CLASS="REFENTRY"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Nano-X Library API</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="nxstruct_GR_TIMEOUT.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="nxstruct_GR_WINDOW_ID.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="NXSTRUCT.GR.UPDATE.TYPE"
>GR_UPDATE_TYPE</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN11973"
></A
><H2
>Name</H2
>GR_UPDATE_TYPE&nbsp;--&nbsp;Window update event, event subtypes</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN11976"
></A
><H2
>Synopsis</H2
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>typedef int GR_UPDATE_TYPE;
  </PRE
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN11978"
></A
><H2
>Description</H2
><P
>    A <SPAN
CLASS="TYPE"
>GR_UPDATE_TYPE</SPAN
> enumeration type identifies the
    reason for a window receiving an update event. When a window
    receives a <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_UPDATE</TT
></A
>
    or a <A
HREF="nxstruct_GR_EVENT_TYPE.html"
><TT
CLASS="CONSTANT"
>GR_EVENT_TYPE_CHILD_UPDATE</TT
></A
> 
    event the corresponding
    <A
HREF="nxstruct_GR_EVENT_UPDATE.html"
>    <SPAN
CLASS="STRUCTNAME"
>GR_EVENT_UPDATE</SPAN
></A
>
    structure will contain a field of this kind that specifies the update type. 
  </P
><P
>    The following table shows all of the available enumeration values
    that can be assigned to a <SPAN
CLASS="TYPE"
>GR_UPDATE_TYPE</SPAN
> variable.
  </P
><DIV
CLASS="TABLE"
><A
NAME="AEN11990"
></A
><P
><B
>Table 3-1. Update Enumerations</B
></P
><TABLE
BORDER="1"
CLASS="CALSTABLE"
><THEAD
><TR
><TH
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Value</TH
><TH
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Description</TH
></TR
></THEAD
><TBODY
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_UPDATE_MAP</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Indicates that the window has been mapped.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_UPDATE_UNMAP</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Indicates that the window has been unmapped.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_UPDATE_MOVE</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Indicates that the window has been moved.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_UPDATE_SIZE</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Indicates that the window has been resized.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_UPDATE_UNMAPTEMP</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Indicates that the window has been temporarily
        unmapped. A window is temporarily unmapped while it is moved,
        resized or reparented. </TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_UPDATE_ACTIVATE</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Indicates that the window has been activated.</TD
></TR
><TR
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
><TT
CLASS="CONSTANT"
>GR_UPDATE_DESTROY</TT
></TD
><TD
WIDTH="50%"
ALIGN="LEFT"
VALIGN="TOP"
>Indicates that the window has been destroyed.</TD
></TR
></TBODY
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="nxstruct_GR_TIMEOUT.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="nxstruct_GR_WINDOW_ID.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><SPAN
CLASS="TYPE"
>GR_TIMEOUT</SPAN
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="nxstruct.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><SPAN
CLASS="TYPE"
>GR_WINDOW_ID</SPAN
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>